<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="viewport" content="width=1024px, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    
    <title>Spina</title>
    
    <!-- Stylesheets -->
    <link rel="stylesheet" href="../css/reset.css" />
    <link rel="stylesheet" href="../css/icons.css" />
    <link rel="stylesheet" href="../css/formalize.css" />
    <link rel="stylesheet" href="../css/checkboxes.css" />
    <link rel="stylesheet" href="../css/sourcerer.css" />
    <link rel="stylesheet" href="../css/jqueryui.css" />
    <link rel="stylesheet" href="../css/tipsy.css" />
    <link rel="stylesheet" href="../css/calendar.css" />
    <link rel="stylesheet" href="../css/tags.css" />
    <link rel="stylesheet" href="../css/selectboxes.css" />
    <link rel="stylesheet" href="../css/960.css" />
    <link rel="stylesheet" href="../css/main.css" />
    <link rel="stylesheet" media="all and (orientation:portrait)" href="../css/portrait.css" />
    <link rel="apple-touch-icon" href="../apple-touch-icon-precomposed.png" />
    <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    
    <!--[if lt IE 9]>
    <script src="../js/html5shiv.js"></script>
    <script src="../js/excanvas.js"></script>
    <![endif]-->
    
    <!-- JavaScript -->
    <script src="../js/jquery.min.js"></script>
    <script src="../js/jqueryui.min.js"></script>
    <script src="../js/jquery.cookies.js"></script>
    <script src="../js/jquery.pjax.js"></script>
    <script src="../js/formalize.min.js"></script>
    <script src="../js/jquery.metadata.js"></script>
    <script src="../js/jquery.validate.js"></script>
    <script src="../js/jquery.checkboxes.js"></script>
    <script src="../js/jquery.chosen.js"></script>
    <script src="../js/jquery.fileinput.js"></script>
    <script src="../js/jquery.datatables.js"></script>
    <script src="../js/jquery.sourcerer.js"></script>
    <script src="../js/jquery.tipsy.js"></script>
    <script src="../js/jquery.calendar.js"></script>
    <script src="../js/jquery.inputtags.min.js"></script>
    <script src="../js/jquery.wymeditor.js"></script>
    <script src="../js/jquery.livequery.js"></script>
    <script src="../js/jquery.flot.min.js"></script>
    <script src="../js/application.js"></script>
  </head>
  
  <body>

    <!-- Primary navigation -->
    <nav id="primary">
      <ul>
        <li>
          <a href="#">
            <span class="icon32 dashboard"></span>
            Dashboard
          </a>
        </li>
        <li>
          <a href="#">
            <span class="icon32 shuffle"></span>
            UI Elements
          </a>
        </li>
        <li>
          <a href="#">
            <span class="icon32 pencil"></span>
            Forms
          </a>
        </li>
        <li>
          <a href="#">
            <span class="icon32 listicon"></span>
            Tables
          </a>
        </li>
        <li class="active">
          <a href="#">
            <span class="icon32 chart"></span>
            Charts
          </a>
        </li>
        <li class="bottom">
          <a href="#">
            <span class="icon32 quit"></span>
            Log out
          </a>
        </li>
      </ul>
    </nav>
    
    <!-- Secondary navigation -->
    <nav id="secondary">
    
      <ul>
        <li><a href="#">Line chart</a></li>
        <li class="active"><a href="#">Bar chart</a></li>
        <li><a href="#">Dynamic chart</a></li>
        <li><a href="#">Complex chart</a></li>
        <li><a href="#">Pie chart</a></li>
      </ul>
      
      <div id="notifications">
        <ul>
        </ul>
      </div>
    </nav>
    
    <section id="maincontainer">
      <div id="main" class="container_12">
      
        <div class="box">
          <div class="box-header">
            <h1>Modal windows are awesome</h1>
          </div>
          
          <div class="box-content">
            <p>Modal windows are awesome because they allow you to create a truly seamless experience when using your app. Especially when combined with PJAX, your application will perform almost like a native app.</p>
            
            <a href="#modal1" class="modal button">Launch modal nr 1.</a>
            <a href="#modal2" class="modal button">Modal with tabs</a>
          </div>
        </div>
        
        <div id="modal1" class="box">
          <div class="box-header">
            <h1>Modal number 1</h1>
          </div>
          
          <div class="box-content">
            <p>You can just use the usual syntax to create modal boxes.</p>
            <p>Just don't forget to add a close button so that the window can be closed.</p>
            <br />
            <code class="html"><a href="modal1" class="modal button">Launch modal nr 1.</a>
...
<div id="modal1" class="box">
  ...
  <div class="action_bar">
    <a href="#" class="close button blue">Close window</a>
  </div>
</div></code>
            
            <div class="action_bar">
              <a href="#" class="close button blue">Close window</a>
            </div>
          </div>
        </div>
        
        <div id="modal2" class="box">
          <div class="box-header">
            <h1>Modal with tabs</h1>
            
            <ul>
              <li class="active"><a href="#tab1">Tab</a></li>
              <li><a href="#tab2">Another tab</a></li>
              <li><a href="#tab3">Nice form</a></li>      
            </ul>
          </div>
          
          <div class="box-content">
            <div class="tab-content" id="tab1">
              <p>As I said, you can do pretty much anything in the modal space. Even tabbed boxes. :-)</p>
            </div>
            
            <div class="tab-content" id="tab2">
              <p>I often use tabs for forms. Check it out at the third tab.</p>
            </div>
            
            <div class="tab-content" id="tab3">
              <form>
                <div class="column-left">
                  <p>
                    <input type="text" id="textfield" name="textfield" placeholder="This is a textfield" />
                  </p>
                  
                  <p>
                    <textarea type="text" id="textarea" name="textarea" placeholder="This is a textfield"></textarea>
                  </p>
                </div>
                
                <div class="column-right">
                  <p>
                    <input type="text" id="textfield" name="textfield" placeholder="This is another textfield" />
                    <small>This could be small explanation of some sort.</small>
                  </p>

                  <p>
                    <select name="city" id="city" placeholder="City" class="{validate:{required:true}}">
                      <option>Nijmegen</option>
                      <option>Amsterdam</option>
                      <option>New York</option>
                    </select>
                  </p>
                </div>
                
                <div class="clear"></div>
              </form>
            </div>
            
            <div class="action_bar">
              <a href="#" class="close button blue">Close window</a>
            </div>
          </div>
        </div>

      </div>
    </section>
  </body>
</html>